{% if dishes_json %}
	<script type="text/javascript">
		$(function () {
				window.app = SearchController.init({dishes: JSON.parse('{{ dishes_json|safe }}'), isMapsView: {{ isMapsView }}, shouldDisplayNames: {{ shouldDisplayNames }}});
		});
	</script>
	<ul class="dish-photo-list"></ul>
{% else %}{% if tag %}
	<ul id="dish_list">
	{% for dish in tag.dish_set.all %}
		<!-- include "reviews/dish_details.html" -->
	{% endfor %}
	</ul>
{% else %}{% if place %}
	<ul id="dish_list">
	{% for dish in place.dish_set.all %}
		<!-- include "reviews/dish_details.html" -->
	{% endfor %}
{% else %}
	<p>No dishes found.</p>
{% endif %}{% endif %}{% endif %}

